package test;

/**
 *面试题一：exception未被catch,但包含在finally中。如下代码：请问打印结果是什么？ 
 * @author jyy
 */
public class ExcetpionProblem {

	public static void main(String[] args) {
		try {
			doException();
		} catch (Exception e) {
			System.out.println("in main exception");
		}
	}
	
	static void doException() throws Exception{
		try{
			throw new Exception("exception");
		}finally{
			System.out.println("in finally");
		}
	}
	
}
